package com.springboot.demo.model.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@ApiModel(description = "商品信息")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Goods implements Serializable {

    @ApiModelProperty("商品id")
    private Integer goodsId;

    @ApiModelProperty("商品类型编码")
    private String goodsTypeCode;

    @ApiModelProperty("商品名称")
    private String goodsName;

    @ApiModelProperty("商品图片")
    private String goodsImg;

    @ApiModelProperty("商品排序,按升序,最大999")
    private Integer goodsSort;

    @ApiModelProperty("商品价格")
    private BigDecimal goodsPrice;

    @ApiModelProperty("服务内容:服务内容显示在支付界面，订单详情界面")
    private String serveContent;

    @ApiModelProperty("商品详情")
    private String goodsDetails;

    @ApiModelProperty("0删除,1正常,2下架")
    private Integer goodsStatus;

    @ApiModelProperty("创建人")
    private Integer createUserId;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("更新人")
    private Integer updateUserId;

    @ApiModelProperty("更新时间")
    private Date updateTime;

    @ApiModelProperty("备注")
    private String remark;

}